package cn.aiyuan.entity.permission;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author 痴
 * @className permissionTree
 * @date 2019-12-17 13:16
 */
@EqualsAndHashCode(callSuper = false)
@Data
public class PermissionTreeVO extends Permission implements Serializable {

	private static final long serialVersionUID = -3259184308977748233L;

	@ApiModelProperty(name = "pChild", value = "权限子集")
	@JsonProperty("pChild")
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private List<PermissionTreeVO> pChild;

}
